package com.xinghen.scheduler.meta;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.quartz.SimpleTrigger;

import java.io.Serializable;

/**
 * @author xinghen
 * @ClassName: SimpleTriggerMeta
 * @Package: com.xinghen.scheduler.meta
 * @Description SimpleTriggerMeta
 * @create 2017-12-08 17:20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SimpleTriggerMeta extends TriggerMeta implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 描述 : 重复次数
     */
    private Integer repeatCount = SimpleTrigger.REPEAT_INDEFINITELY;

    /**
     * 描述 : 执行间隔
     */
    private Long intervalInMilliseconds;

}
